think irrationally

Translations
думать нелогично
When you're angry, you may think irrationally.
Когда вы злитесь, вы можете думать нелогично.